package priv.work2;

import org.springframework.beans.factory.annotation.Autowired;

public class GeneralManager {
	private String name;
	private Integer age;
	private Character sex;
	private Secretary secretary;
	private Driver driver;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Character getSex() {
		return sex;
	}
	public void setSex(Character sex) {
		this.sex = sex;
	}
	public Secretary getSecretary() {
		return secretary;
	}
	public void setSecretary(Secretary secretary) {
		this.secretary = secretary;
	}
	public Driver getDriver() {
		return driver;
	}
	public void setDriver(Driver driver) {
		this.driver = driver;
	}
	@Override
	public String toString() {
		return "GeneralManager [name=" + name + ", age=" + age + ", sex=" + sex + ", secretary=" + secretary
				+ ", driver=" + driver + "]";
	}
	public GeneralManager() {
		
	}
}
